import 'package:rfid/generated/json/base/json_convert_content.dart';
import 'package:rfid/entity/place_entity.dart';

PlaceEntity $PlaceEntityFromJson(Map<String, dynamic> json) {
	final PlaceEntity placeEntity = PlaceEntity();
	final String? bookNo = jsonConvert.convert<String>(json['book_no']);
	if (bookNo != null) {
		placeEntity.bookNo = bookNo;
	}
	final String? place = jsonConvert.convert<String>(json['place']);
	if (place != null) {
		placeEntity.place = place;
	}
	return placeEntity;
}

Map<String, dynamic> $PlaceEntityToJson(PlaceEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['book_no'] = entity.bookNo;
	data['place'] = entity.place;
	return data;
}